package com.company.example.copy;

import java.util.ArrayList;

/**
 * Created by ywl on 2017/2/23.
 */
public class PrintUtil {
    public static void printList(ArrayList<Person> srcList, ArrayList<Person> destList){
        System.out.println(destList);
        srcList.get(0).setAge(30);
        srcList.get(0).getUser().setAge(20);
        System.out.println("*********");
        System.out.println(destList);
    }
}
